package com.jaay.common;

import lombok.Getter;


@Getter
public enum Result {

    SUCCESS(200, "成功"), FAIL(500, "异常");

    private int code;
    private String msg;

    Result(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

}